let index=1;


export const getlistData=(pageSize)=>{
    return Promise.resolve().then(()=>{
        let arr=[],start=index,end=index+pageSize;
            while (start<end) {
                [].push(start++)
            }
            index=end;
            return arr;
    })
}